____ _ _ _ _
| _ \ ___ | |_ (_) _ __ ___ __| | (_) __ _
| |_) | / _ \ | __| | | | '_ \ / _ \ / _| | | | / _ |
| _ < | __/ | |_ | | | |_) | | __/ | (_| | | | | (_| |
|_| \_\ \___| \__| |_| | .__/ \___| \__,_| |_| \__,_|
|_|
- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b
Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―
Vorzeichenfunktion
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
top
Die Vorzeichenfunktion oder Signumfunktion (von lateinisch signum βZeichenβ) ist in der Mathematik eine Funktion, die einer reellen oder komplexen Zahl ihr Vorzeichen zuordnet.
Contents
β’ Definition
β’ Rechenregeln
β’ Definition
β’ Rechenregeln
β’ Literatur
β’ Weblinks
β’ Einzelnachweise
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Vorzeichenfunktion auf den reellen Zahlen
Definition
Die reelle Vorzeichenfunktion bildet von der Menge der reellen Zahlen in die Menge { β β 1 , 0 , 1 } {\displaystyle \{-1,0,1\}} ab und wird in der Regel wie folgt definiert:
sgn β‘ β‘ ( x ) := { + 1 , falls x > 0 , 0 , falls x = 0 , β β 1 , falls x < 0. {\displaystyle \operatorname {sgn}(x):={\begin{cases}+1,&\;{\text{falls}}\quad x>0,\\\;\;\,0,&\;{\text{falls}}\quad x=0,\\-1,&\;{\text{falls}}\quad x<0.\\\end{cases}}}
Sie ordnet also den positiven Zahlen den Wert +1, den negativen Zahlen den Wert β1 und der 0 den Wert 0 zu.
AnwendungsabhΓ€ngig, beispielsweise in der Rechentechnik, verwendet man alternative Definitionen fΓΌr 0. Diese wird dann den positiven ( sgn β‘ β‘ ( 0 ) = 1 {\displaystyle \operatorname {sgn}(0)=1} ), negativen ( sgn β‘ β‘ ( 0 ) = β β 1 {\displaystyle \operatorname {sgn}(0)=-1} ), beiden Zahlenbereichen entweder wahlweise ( sgn β‘ β‘ ( + 0 ) = + 1 {\displaystyle \operatorname {sgn}(+0)=+1} , sgn β‘ β‘ ( β β 0 ) = β β 1 {\displaystyle \operatorname {sgn}(-0)=-1} ), oder gleichzeitig ( sgn β‘ β‘ ( 0 ) = Β± Β± 1 {\displaystyle \operatorname {sgn}(0)=\pm 1} ), oder undefiniert ( sgn β‘ β‘ ( 0 ) = u n d e f {\displaystyle \operatorname {sgn}(0)=\mathrm {undef} } )cite-ref-1[1]cite-ref-2[2] zugeordnet. Da die Null eine Nullmenge unter dem Lebesgue-MaΓ ist, ist dies fΓΌr praktische Anwendungen oft nicht von Bedeutung. UnabhΓ€ngig von der Definition der Vorzeichenfunktion (die variiert), wird in der Gleitkommadarstellung ΓΌblicherweise dem Vorzeichen ein Bit zugewiesen.
FΓΌr den Fall, dass sgn β‘ β‘ ( 0 ) = 1 {\displaystyle \operatorname {sgn}(0)=1} gesetzt wird, besteht folgender Zusammenhang zur Heaviside-Funktion Ξ Ξ ( x ) {\displaystyle \Theta (x)} :
sgn β‘ β‘ ( x ) = 2 Ξ Ξ ( x ) β β 1 {\displaystyle \operatorname {sgn}(x)=2\Theta (x)-1}
Rechenregeln
Durch Fallunterscheidung ist leicht beweisbar:
β’ FΓΌr alle x β β R {\displaystyle x\in \mathbb {R} } mit Betrag | x | {\displaystyle |x|} gilt x = | x | β
β
sgn β‘ β‘ ( x ) sowie x β
β
sgn β‘ β‘ ( x ) = | x | {\displaystyle x=|x|\cdot \operatorname {sgn}(x)\;{\text{sowie}}\;x\cdot \operatorname {sgn}(x)=|x|} .
β’ Die Signumfunktion ist eine ungerade Funktion:
sgn β‘ β‘ ( β β x ) = β β sgn β‘ β‘ ( x ) {\displaystyle \operatorname {sgn}(-x)=-\operatorname {sgn}(x)} fΓΌr alle x β β R {\displaystyle x\in \mathbb {R} } .
β’ Ist k β β R {\displaystyle k\in \mathbb {R} } eine Konstante und f {\displaystyle f} eine ungerade Funktion, so ist
f ( k β
β
x ) = f ( sgn β‘ β‘ ( k ) β
β
| k | β
β
x ) = sgn β‘ β‘ ( k ) β
β
f ( | k | β
β
x ) {\displaystyle f(k\cdot x)\quad =f(\operatorname {sgn}(k)\cdot |k|\cdot x)\quad =\operatorname {sgn}(k)\cdot f(|k|\cdot x)}
β’ FΓΌr x β β 0 {\displaystyle x\neq 0} ist der Γbergang zur reziproken Zahl mit der Signumfunktion vertrΓ€glich und Γ€ndert nichts an deren Wert:
sgn β‘ β‘ ( x β β 1 ) = ( sgn β‘ β‘ ( x ) ) β β 1 = sgn β‘ β‘ ( x ) {\displaystyle \operatorname {sgn}(x^{-1})=(\operatorname {sgn}(x))^{-1}=\operatorname {sgn}(x)} fΓΌr alle 0 β β x β β R {\displaystyle 0\neq x\in \mathbb {R} } .
β’ Die Signumfunktion ist mit der Multiplikation vertrΓ€glich:
sgn β‘ β‘ ( x ) β
β
sgn β‘ β‘ ( y ) = sgn β‘ β‘ ( x β
β
y ) {\displaystyle \operatorname {sgn}(x)\cdot \operatorname {sgn}(y)=\operatorname {sgn}(x\cdot y)} fΓΌr alle x , y β β R {\displaystyle x,y\in \mathbb {R} } .
β’ Die Signumfunktion ist idempotent:
sgn β‘ β‘ ( sgn β‘ β‘ ( x ) ) = sgn β‘ β‘ ( x ) {\displaystyle \operatorname {sgn}(\operatorname {sgn}(x))=\operatorname {sgn}(x)} fΓΌr alle x β β R {\displaystyle x\in \mathbb {R} } .
Aus den beiden letztgenannten Rechenregeln folgt beispielsweise, dass sich die in einem aus beliebig vielen Faktoren zusammengesetzten Argument der Signumfunktion ein Faktor x j {\displaystyle x_{j}} durch sgn β‘ β‘ ( x j ) {\displaystyle \operatorname {sgn}(x_{j})} ersetzen lΓ€sst, ohne den Funktionswert zu Γ€ndern:
sgn β‘ β‘ ( x j β
β
β β i x i ) = sgn β‘ β‘ ( sgn β‘ β‘ ( x j ) β
β
β β i x i ) {\displaystyle \operatorname {sgn} {\bigg (}x_{j}\cdot \prod _{i}x_{i}{\bigg )}=\operatorname {sgn} {\bigg (}\operatorname {sgn}(x_{j})\cdot \prod _{i}x_{i}{\bigg )}} fΓΌr beliebige x i , x j β β R {\displaystyle x_{i},x_{j}\in \mathbb {R} } .
Ableitung und Integral
Die Vorzeichenfunktion ist an der Stelle x = 0 {\displaystyle x=0} nicht stetig und damit dort nicht klassisch differenzierbar. FΓΌr alle anderen Stellen x β β 0 {\displaystyle x\neq 0} ist die Vorzeichenfunktion differenzierbar mit sgn β² β² β‘ β‘ ( x ) = 0 {\displaystyle \operatorname {sgn} ^{\prime }(x)=0} . Die Vorzeichenfunktion besitzt auch keine schwache Ableitung. Allerdings ist sie im Sinne von Distributionen differenzierbar, und ihre Ableitung ist 2 Ξ΄ Ξ΄ {\displaystyle 2\delta } , wobei Ξ΄ Ξ΄ {\displaystyle \delta } die Delta-Distribution bezeichnet.
Ferner gilt fΓΌr alle x β β R {\displaystyle x\in \mathbb {R} }
| x | = β« β« 0 x sgn β‘ β‘ ( t ) d t . {\displaystyle |x|=\int _{0}^{x}\operatorname {sgn}(t)\,\mathrm {d} t\,.}
Die Vorzeichenfunktion ist darΓΌber hinaus die schwache Ableitung der Betragsfunktion.
Vorzeichenfunktion auf den komplexen Zahlen
Definition
Im Vergleich zur Vorzeichenfunktion reeller Zahlen wird nur selten die folgende Erweiterung auf komplexe Zahlen betrachtet:
sgn β‘ β‘ ( z ) := { z | z | falls z β β 0 0 falls z = 0 {\displaystyle \operatorname {sgn}(z):={\begin{cases}{\frac {z}{|z|}}&\;{\text{falls}}\quad z\neq 0\\0&\;{\text{falls}}\quad z=0\\\end{cases}}}
Das Ergebnis dieser Funktion liegt fΓΌr z β β 0 {\displaystyle z\neq 0} auf dem Einheitskreis und besitzt dasselbe Argument wie der Ausgangswert, insbesondere gilt
sgn β‘ β‘ ( r e i Ο Ο ) = e i Ο Ο , f a l l s r > 0. {\displaystyle \operatorname {sgn} \left(r\mathrm {e} ^{\mathrm {i} \varphi }\right)=\mathrm {e} ^{\mathrm {i} \varphi },\qquad \mathrm {falls} \ r>0.}
Beispiel: z 1 = 2 + 2 i {\displaystyle z_{1}=2+2\mathrm {i} } (im Bild rot)
sgn β‘ β‘ ( z 1 ) = sgn β‘ β‘ ( 2 + 2 i ) = 2 + 2 i | 2 + 2 i | = 2 + 2 i 2 2 = 1 + i 2 = 2 2 + 2 2 i . {\displaystyle \operatorname {sgn} (z_{1})=\operatorname {sgn} (2+2\mathrm {i} )={\frac {2+2\mathrm {i} }{\left|2+2\mathrm {i} \right|}}={\frac {2+2\mathrm {i} }{2{\sqrt {2}}}}={\frac {1+\mathrm {i} }{\sqrt {2}}}={\frac {\sqrt {2}}{2}}+{\frac {\sqrt {2}}{2}}{\mathrm {i} }.}
Rechenregeln
FΓΌr die komplexe Vorzeichenfunktion gelten die folgenden Rechenregeln:
FΓΌr alle komplexen Zahlen z {\displaystyle z} und w {\displaystyle w} gilt:
β’ z = | z | β
β
sgn β‘ β‘ z {\displaystyle z=|z|\cdot \operatorname {sgn} z} fΓΌr alle z , {\displaystyle z,} wobei | z | {\displaystyle |z|} den Betrag von z {\displaystyle z} bezeichnet;
β’ sgn β‘ β‘ ( z Β― Β― ) = sgn β‘ β‘ ( z ) Β― Β― {\displaystyle \operatorname {sgn} ({\bar {z}})={\overline {\operatorname {sgn} (z)}}} , wobei der Querstrich die komplexe Konjugation bezeichnet;
β’ sgn β‘ β‘ ( z β
β
w ) = sgn β‘ β‘ z β
β
sgn β‘ β‘ w {\displaystyle \operatorname {sgn}(z\cdot w)=\operatorname {sgn} z\cdot \operatorname {sgn} w} , insbesondere
β’ sgn β‘ β‘ ( Ξ» Ξ» β
β
z ) = sgn β‘ β‘ z {\displaystyle \operatorname {sgn}(\lambda \cdot z)=\operatorname {sgn} z} fΓΌr positive reelle Ξ» Ξ» {\displaystyle \lambda } ,
β’ sgn β‘ β‘ ( Ξ» Ξ» β
β
z ) = β β sgn β‘ β‘ z {\displaystyle \operatorname {sgn}(\lambda \cdot z)=-\operatorname {sgn} z} fΓΌr negative reelle Ξ» Ξ» {\displaystyle \lambda } ,
β’ sgn β‘ β‘ ( β β z ) = β β sgn β‘ β‘ ( z ) {\displaystyle \operatorname {sgn} (-z)=-\operatorname {sgn} (z)} ;
β’ sgn β‘ β‘ ( | z | ) = | sgn β‘ β‘ ( z ) | = { 1 falls z β β 0 0 falls z = 0 {\displaystyle \operatorname {sgn} (|z|)=|\operatorname {sgn} (z)|={\begin{cases}1&\;{\text{falls}}\quad z\neq 0\\0&\;{\text{falls}}\quad z=0\\\end{cases}}} .
β’ Falls z β β 0 {\displaystyle z\neq 0} ist, gilt auch
sgn β‘ β‘ ( z β β 1 ) = sgn β‘ β‘ ( z ) β β 1 = sgn β‘ β‘ ( z ) Β― Β― {\displaystyle \operatorname {sgn} (z^{-1})=\operatorname {sgn} (z)^{-1}={\overline {\operatorname {sgn} (z)}}} .
Literatur
β’ KΓΆnigsberger: Analysis 1. 6. Auflage. Springer, Berlin 2003, ISBN 3-540-40371-X, S. 101.
β’ Hildebrandt: Analysis 1. 2. Auflage. Springer, Berlin 2005, ISBN 3-540-25368-8, S. 133.
Weblinks
Wikibooks: Algorithmensammlung: Zahlentheorie: Signum
β Lern- und Lehrmaterialien
β’ Eric W. Weisstein: Sign. In: MathWorld (englisch).
β’ yark, matte, Cam McLeman: Signum function. In: PlanetMath. (englisch)
Einzelnachweise